<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <ul>
            <li v-for ="s in student">{{s.name}}</li>
        </ul>
      <label for="">{{message}}</label>
       <span  v-bind:title="message">

       </span> 

       <div v-if="canSee">惊讶吧！！！</div>
    </div>
    <script src="http://cdn.jsdelivr.net/npm/vue"></script>

    <script>
        var app = new Vue({
            el:'#app',
            data:{
                student:[
                    {name:'唐宇'},
                    {name:'林逸'}
                ],
                message:'这个页面创建于'+new Date().toLocaleString(),
                canSee:true
            }
        })
    </script>
</body>
</html>